package com.glut.gultguy.service;

import com.glut.gultguy.entity.Address;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2022-09-05
 */
public interface AddressService extends IService<Address> {
List<Address> getAddr(String publisherId);//获取地址列表
    Map<String,Integer> addAddr(Address address);//添加地址

    List<Address> getAddrByOpenid(String openid);
}
